package com.blog.service.impl;

import com.blog.mapper.PvLogMapper;
import com.blog.service.MainService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description: 首页接口实现类
 * @Author: 刘会俊
 * @Date: 2018-12-21 16:04
 */
@Service
public class MainServiceImpl implements MainService {

    @Autowired
    private PvLogMapper pvLogMapper;

    /**
     *@description: 获取首页一些统计数据
     *@author: 刘会俊
     *@params: []
     *@return: java.util.List<java.lang.Integer>
     */
    @Override
    public List<Integer> getIndexCount() {
        return pvLogMapper.getIndexCount();
    }
}
